﻿<Window x:Class="BestCode.Barcode.View.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:BestCode.Wpf.Controls;assembly=BestCode.Wpf.Controls"
        Title="My QR Generator" Height="487" Width="720">
    <Grid>
        <controls:FormHeader TitleText="QR Generator" DescriptionText="Best Code - Easy QR Generator" Margin="0">
            <Grid>

                <TextBox Height="39" Margin="111,28,19,0" TextWrapping="Wrap" VerticalAlignment="Top" Name="txtStringCode" FontSize="20" TabIndex="1"/>
                <TextBlock HorizontalAlignment="Left" Margin="8,34,0,0" TextWrapping="Wrap" Text="Text String:" VerticalAlignment="Top" FontWeight="Bold" FontSize="18"/>

                <controls:ImageButton TextButton="GENERATE NOW!!" Click="Button_Click" Margin="0,83,19,0" HorizontalAlignment="Right" Width="146" Height="40" VerticalAlignment="Top" IsDefault="True" TabIndex="2"/>

                <Image   VerticalAlignment="Center" HorizontalAlignment="Center"  Name="imgQR" Height="{Binding ElementName=sliderImage, Path=Value}" Width="{Binding ElementName=sliderImage, Path=Value}"/>
                <Slider HorizontalAlignment="Left" Margin="21,83,0,29" Maximum="500" Minimum="100" Width="25" Orientation="Vertical" Name="sliderImage"/>

            </Grid>
        </controls:FormHeader>







    </Grid>
</Window>
